package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.CheckGroupDTO;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;
import com.itheima.health.vo.CheckGroupVO;

import java.util.List;

public interface CheckGroupService extends IService<CheckGroup> {

    Boolean saveCheckGroup(CheckGroupDTO checkGroupDTO);

    PageResult findPage(QueryPageBean queryPageBean);

    CheckGroupVO findCheckItemInfoByGroupId(int id);
    //
    List<CheckItem> findCheckItemByGid(Integer id);
}
